﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace IntroduceCompany.Controllers
{
    public class ErrorController : Controller
    {
        public ActionResult NotFound()
        {
            return View();
        }

        public ActionResult NotAuthorized()
        {
            return View("/Views/Backend/Error/NotAuthorized2.aspx");
        }

        public ActionResult Error404()
        {
            //string url = ControllerContext.HttpContext.Request.RawUrl;
            return View("/Views/Frontend/Error/Error404.aspx");
        }

        public ActionResult Error()
        {
            return View("/Views/Frontend/Error/Error.aspx");
        }

    }
}
